package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * PaymentMethod entity. @author MyEclipse Persistence Tools
 */

public class PaymentMethod implements java.io.Serializable {

	// Fields

	private Long id;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private Integer orders;
	private String content;
	private String description;
	private String icon;
	private String name;
	private Integer timeout;
	private Integer type;
	private Set orders_1 = new HashSet(0);
	private Set paymentShippingMethods = new HashSet(0);

	// Constructors

	/** default constructor */
	public PaymentMethod() {
	}

	/** minimal constructor */
	public PaymentMethod(Timestamp createDate, Timestamp modifyDate,
			String name, Integer type) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.name = name;
		this.type = type;
	}

	/** full constructor */
	public PaymentMethod(Timestamp createDate, Timestamp modifyDate,
			Integer orders, String content, String description, String icon,
			String name, Integer timeout, Integer type, Set orders_1,
			Set paymentShippingMethods) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.orders = orders;
		this.content = content;
		this.description = description;
		this.icon = icon;
		this.name = name;
		this.timeout = timeout;
		this.type = type;
		this.orders_1 = orders_1;
		this.paymentShippingMethods = paymentShippingMethods;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getOrders() {
		return this.orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getTimeout() {
		return this.timeout;
	}

	public void setTimeout(Integer timeout) {
		this.timeout = timeout;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Set getOrders_1() {
		return this.orders_1;
	}

	public void setOrders_1(Set orders_1) {
		this.orders_1 = orders_1;
	}

	public Set getPaymentShippingMethods() {
		return this.paymentShippingMethods;
	}

	public void setPaymentShippingMethods(Set paymentShippingMethods) {
		this.paymentShippingMethods = paymentShippingMethods;
	}

}